Skip to content

Remove simplefs_file_system_type::next for linux 7.2 and up - #95

Merged
jserv merged 1 commit into
sysprog21:masterfrom
EricKim27:master
Aug 6, 2026
Merged

Remove simplefs_file_system_type::next for linux 7.2 and up#95
jserv merged 1 commit into
sysprog21:masterfrom
EricKim27:master

Conversation

@EricKim27

@EricKim27 EricKim27 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

In linux kernel 7.2, member next from file_system_type has been removed as filesystem lists were changed to RCU list. The linkage is now managed separately from file_system_type object.

Remove member simplefs_file_system_type::next to match the new file_system_type structure.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dc651e25a6d289bc08cfde032427fa17


Summary by cubic

Make simplefs_file_system_type compatible with Linux kernel 7.2+ by removing .next for newer kernels and keeping it only for <=7.1 via SIMPLEFS_LESS_EQUAL(7, 1, 0). This avoids build errors since file_system_type::next was removed when filesystem lists switched to RCU.

Written for commit dad1620. Summary will update on new commits.

Review in cubic

In linux kernel 7.2, member next from file_system_type has
been removed as filesystem lists were changed to RCU list.
The linkage is now managed separately from file_system_type object.

Remove member simplefs_file_system_type::next to match the new
file_system_type structure.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@jserv
jserv merged commit 7af0fcd into sysprog21:master Aug 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants